<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
	pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<%@page import="mbeans.LoginMBean"%>
<html>

<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>

<link rel="stylesheet" type="text/css" href="estilos.css" />

<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Banca Alecrim</title>
</head>
<f:view>
	<body>
	<table width="70%" border="0" align="center" class="layoutPagina">
		<tr>
			<td align="center"><%@ include file="banner.html"%>

			<h:outputLink value="index.jsp">
				<h:graphicImage value="img/home.jpg" styleClass="img"/>
			</h:outputLink> 
			<% if(!LoginMBean.isLogado()) { %>
				<h:outputLink value="telaLogin.jsp">
					<h:graphicImage value="img/login.jpg" styleClass="img"/>
				</h:outputLink>
			<% }%>
			<% if(LoginMBean.isLogado()) { %>
				<h:outputLink value="telaLogout.jsp">
					<h:graphicImage value="img/logout.jpg" styleClass="img"/>
				</h:outputLink>
			<% }%>
			
			<h:outputLink value="cadastroUsuario.jsp">
				<h:graphicImage value="img/cadastro.jpg" styleClass="img"/>
			</h:outputLink> <h:outputLink value="buscarRevistas.jsp">
				<h:graphicImage value="img/revistas.jpg" styleClass="img"/>
			</h:outputLink> <h:outputLink value="contato.jsp">
				<h:graphicImage value="img/contato.jpg" styleClass="img"/>
			</h:outputLink></td>
		</tr>
	</table>
	</body>	
</f:view>
</html>